// MfcTemplateDlg.h : header file
//

#if !defined(AFX_MFCTEMPLATEDLG_H__9BEE228E_AFF9_4E09_B17F_A5EE8DA8D8D9__INCLUDED_)
#define AFX_MFCTEMPLATEDLG_H__9BEE228E_AFF9_4E09_B17F_A5EE8DA8D8D9__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CMfcTemplateDlg dialog

UINT DevListenThread(LPVOID pParam);
int CreateSearchDevSocket(void);
int GreateRecvDevSocket(void);

class CMfcTemplateDlg : public CDialog
{
// Construction
public:
	CMfcTemplateDlg(CWnd* pParent = NULL);	// standard constructor
    
// Dialog Data
	//{{AFX_DATA(CMfcTemplateDlg)
	enum { IDD = IDD_MFCTEMPLATE_DIALOG };
	CListCtrl	m_DevList;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMfcTemplateDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CMfcTemplateDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnSetPare();
	afx_msg void OnAbout();
	afx_msg void OnRemoteControl();
	afx_msg void OnRefresh();
	afx_msg void OnDblclkShowList(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.



#endif // !defined(AFX_MFCTEMPLATEDLG_H__9BEE228E_AFF9_4E09_B17F_A5EE8DA8D8D9__INCLUDED_)
